package de.baumann.browser.api.net.vo;

import java.util.List;

public class PacketDetail {

    /**
     * num : 1
     * packet : {"packetLocation":"西安市","packetType":1,"img":[{"imgUrl":"/storage/emulated/0/Pictures/1551352998904.jpg","id":40,"redPacketId":23,"createDate":"2019-03-20 14:27:51"}],"description":"测试卷","adUrl":"http://www.baidu.com","packetAmount":1,"avatar":"https://img.nearu.vip/odin/app/4221/1547103385078/1547103384130770.jpg","totalCount":1,"userName":"@","userId":4221,"remainingCount":0,"checkTime":"2019-03-20 15:15:32","checkState":1,"id":23,"packetBalance":0,"createDate":"2019-03-20 14:27:51"}
     * list : [{"amount":0.9,"reDate":"2019-03-20 15:24:32","avatar":"https://img.nearu.vip/odin/app/13417/1551259693055303.jpg","userName":"鑫❤，1+1hfvn"}]
     */
    private int num;
    private PacketEntity packet;
    private List<ListEntity> list;

    public void setNum(int num) {
        this.num = num;
    }

    public void setPacket(PacketEntity packet) {
        this.packet = packet;
    }

    public void setList(List<ListEntity> list) {
        this.list = list;
    }

    public int getNum() {
        return num;
    }

    public PacketEntity getPacket() {
        return packet;
    }

    public List<ListEntity> getList() {
        return list;
    }

    public class PacketEntity {
        /**
         * packetLocation : 西安市
         * packetType : 1
         * img : [{"imgUrl":"/storage/emulated/0/Pictures/1551352998904.jpg","id":40,"redPacketId":23,"createDate":"2019-03-20 14:27:51"}]
         * description : 测试卷
         * adUrl : http://www.baidu.com
         * packetAmount : 1.0
         * avatar : https://img.nearu.vip/odin/app/4221/1547103385078/1547103384130770.jpg
         * totalCount : 1
         * userName : @
         * userId : 4221
         * remainingCount : 0
         * checkTime : 2019-03-20 15:15:32
         * checkState : 1
         * id : 23
         * packetBalance : 0.0
         * createDate : 2019-03-20 14:27:51
         */
        private String packetLocation;
        private int packetType;
        private List<ImgEntity> img;
        private String description;
        private String adUrl;
        private String packetAmount;
        private String avatar;
        private int totalCount;
        private String userName;
        private int userId;
        private int remainingCount;
        private String checkTime;
        private int checkState;
        private int id;
        private double packetBalance;
        private String createDate;

        public void setPacketLocation(String packetLocation) {
            this.packetLocation = packetLocation;
        }

        public void setPacketType(int packetType) {
            this.packetType = packetType;
        }

        public void setImg(List<ImgEntity> img) {
            this.img = img;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public void setAdUrl(String adUrl) {
            this.adUrl = adUrl;
        }

        public void setPacketAmount(String packetAmount) {
            this.packetAmount = packetAmount;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public void setRemainingCount(int remainingCount) {
            this.remainingCount = remainingCount;
        }

        public void setCheckTime(String checkTime) {
            this.checkTime = checkTime;
        }

        public void setCheckState(int checkState) {
            this.checkState = checkState;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setPacketBalance(double packetBalance) {
            this.packetBalance = packetBalance;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getPacketLocation() {
            return packetLocation;
        }

        public int getPacketType() {
            return packetType;
        }

        public List<ImgEntity> getImg() {
            return img;
        }

        public String getDescription() {
            return description;
        }

        public String getAdUrl() {
            return adUrl;
        }

        public String getPacketAmount() {
            return packetAmount;
        }

        public String getAvatar() {
            return avatar;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public String getUserName() {
            return userName;
        }

        public int getUserId() {
            return userId;
        }

        public int getRemainingCount() {
            return remainingCount;
        }

        public String getCheckTime() {
            return checkTime;
        }

        public int getCheckState() {
            return checkState;
        }

        public int getId() {
            return id;
        }

        public double getPacketBalance() {
            return packetBalance;
        }

        public String getCreateDate() {
            return createDate;
        }

        public class ImgEntity {
            /**
             * imgUrl : /storage/emulated/0/Pictures/1551352998904.jpg
             * id : 40
             * redPacketId : 23
             * createDate : 2019-03-20 14:27:51
             */
            private String imgUrl;
            private int id;
            private int redPacketId;
            private String createDate;

            public void setImgUrl(String imgUrl) {
                this.imgUrl = imgUrl;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setRedPacketId(int redPacketId) {
                this.redPacketId = redPacketId;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }

            public String getImgUrl() {
                return imgUrl;
            }

            public int getId() {
                return id;
            }

            public int getRedPacketId() {
                return redPacketId;
            }

            public String getCreateDate() {
                return createDate;
            }
        }
    }

    public class ListEntity {
        /**
         * amount : 0.9
         * reDate : 2019-03-20 15:24:32
         * avatar : https://img.nearu.vip/odin/app/13417/1551259693055303.jpg
         * userName : 鑫❤，1+1hfvn
         */
        private double amount;
        private String reDate;
        private String avatar;
        private String userName;

        public void setAmount(double amount) {
            this.amount = amount;
        }

        public void setReDate(String reDate) {
            this.reDate = reDate;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public double getAmount() {
            return amount;
        }

        public String getReDate() {
            return reDate;
        }

        public String getAvatar() {
            return avatar;
        }

        public String getUserName() {
            return userName;
        }
    }
}
